Optimal. Leaf size=35 \[ \frac{\left (a+b x^2\right ) \log \left (c \left (a+b x^2\right )^p\right )}{2 b}-\frac{p x^2}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0244695, antiderivative size = 35, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {2454, 2389, 2295} \[ \frac{\left (a+b x^2\right ) \log \left (c \left (a+b x^2\right )^p\right )}{2 b}-\frac{p x^2}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2454
Rule 2389
Rule 2295
Rubi steps
\begin{align*} \int x \log \left (c \left (a+b x^2\right )^p\right ) \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \log \left (c (a+b x)^p\right ) \, dx,x,x^2\right )\\ &=\frac{\operatorname{Subst}\left (\int \log \left (c x^p\right ) \, dx,x,a+b x^2\right )}{2 b}\\ &=-\frac{p x^2}{2}+\frac{\left (a+b x^2\right ) \log \left (c \left (a+b x^2\right )^p\right )}{2 b}\\ \end{align*}
Mathematica [A] time = 0.0088682, size = 34, normalized size = 0.97 \[ \frac{1}{2} \left (\frac{\left (a+b x^2\right ) \log \left (c \left (a+b x^2\right )^p\right )}{b}-p x^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.097, size = 50, normalized size = 1.4 \begin{align*}{\frac{{x}^{2}\ln \left ( c \left ( b{x}^{2}+a \right ) ^{p} \right ) }{2}}-{\frac{p{x}^{2}}{2}}+{\frac{\ln \left ( c \left ( b{x}^{2}+a \right ) ^{p} \right ) a}{2\,b}}-{\frac{ap}{2\,b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.09696, size = 59, normalized size = 1.69 \begin{align*} -\frac{1}{2} \, b p{\left (\frac{x^{2}}{b} - \frac{a \log \left (b x^{2} + a\right )}{b^{2}}\right )} + \frac{1}{2} \, x^{2} \log \left ({\left (b x^{2} + a\right )}^{p} c\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.94739, size = 89, normalized size = 2.54 \begin{align*} -\frac{b p x^{2} - b x^{2} \log \left (c\right ) -{\left (b p x^{2} + a p\right )} \log \left (b x^{2} + a\right )}{2 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 3.69366, size = 56, normalized size = 1.6 \begin{align*} \begin{cases} \frac{a p \log{\left (a + b x^{2} \right )}}{2 b} + \frac{p x^{2} \log{\left (a + b x^{2} \right )}}{2} - \frac{p x^{2}}{2} + \frac{x^{2} \log{\left (c \right )}}{2} & \text{for}\: b \neq 0 \\\frac{x^{2} \log{\left (a^{p} c \right )}}{2} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.18202, size = 58, normalized size = 1.66 \begin{align*} -\frac{{\left (b x^{2} -{\left (b x^{2} + a\right )} \log \left (b x^{2} + a\right ) + a\right )} p -{\left (b x^{2} + a\right )} \log \left (c\right )}{2 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]